package com.lihh.demo01;

public class SubDom extends SuperDom {
  @Override
  public Child eat() {
    System.out.println("这是 sub dom");
    return null;
  }
  
  public static void main(String[] args) {
    SubDom subDom = new SubDom();
    Parent eat = subDom.eat();
  }
}
